projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3db92
)
Put the old label into the future history in reftex-change-label
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 22 Jan 2022 12:00:31 +0000
(13:00 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 22 Jan 2022 12:14:43 +0000
(13:14 +0100)
* lisp/textmodes/reftex-global.el (reftex-change-label): Put the
old label into the future history so that it can be edited easily
(bug#53417).
lisp/textmodes/reftex-global.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/reftex-global.el
b/lisp/textmodes/reftex-global.el
index 5ab9ecd8db3ff08a3287f0a7c35dc34d61543d11..2dbb4484a715c1f048da4d2df221378c4da59dd5 100644
(file)
--- a/
lisp/textmodes/reftex-global.el
+++ b/
lisp/textmodes/reftex-global.el
@@
-184,8
+184,8
@@
No active TAGS table is required."
default))))
(if (string= from "") (setq from default))
(unless to
- (setq to (read-string (format "Replace label %s with: "
-
from)
)))
+ (setq to (read-string (format "Replace label %s with: "
from)
+
nil nil from
)))
(reftex-query-replace-document
(concat "{" (regexp-quote from) "}")
(format "{%s}" to))))